package com.generic.mybatis.dal.interceptor.automap;

import org.apache.ibatis.mapping.MappedStatement;

/**
 * Sql编译类
 *
 * @author wuaj
 */
public interface SqlBuilder {

    /**
     * 编译SQL
     *
     * @param mappedStatement
     * @param dtoClass        DTO对象
     * @param parameterObject 参数
     * @return 返回SQL文
     * @throws Exception
     */
    String buildSql(MappedStatement mappedStatement, Class dtoClass, Object parameterObject) throws Exception;

}
